package com.authine.cloudpivot.ext.dto;

import com.authine.cloudpivot.ext.enums.order.TraceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName OrderVendorDto
 * @Description: 订单物流跟踪表
 * @Author cjj
 * @Date 2021/4/9
 * @Version V1.0
 **/
@Data
@Schema(description = "OrderTraceDto")
@ApiModel("订单物流跟踪表")
public class OrderTraceDto {
    @Schema(description = "订单物流跟踪表ID")
    private String id;
    @Schema(description = "订单物流跟踪表ID集合")
    private List<String> ids;
    @Schema(description = "单据类型")
    private TraceTypeEnum type;
    @Schema(description = "客户订单ID")
    private String orderCustomerId;
    @Schema(description = "客户订单商品ID")
    private String orderCustomerGoodsId;
    @Schema(description = "客户订单商品ID集合")
    private List<String> orderCustomerGoodsIds;
    @Schema(description = "供应商订单ID")
    private String orderVendorId;
    @Schema(description = "订单供应商商品ID")
    private String orderVendorGoodsId;
    @Schema(description = "订单供应商商品ID集合")
    private List<String> orderVendorGoodsIds;
    @Schema(description = "物流，自送：物流名称为自送")
    private String logistics;
    @Schema(description = "运单号")
    private String waybill;
    @Schema(description = "运费")
    private BigDecimal freight;
    @Schema(description = "运单号")
    private List<String> waybills;
    @Schema(description = "预计到货时间")
    private String arrivalTime;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "数量")
    private List<BigDecimal> quantitys;
}
